package hcn.protocol.ods.report;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import java.io.Serializable;
import java.util.List;

/**
 * Created by jinxin on 2016/7/14.
 */
public class MicrobiologyReportBean implements Serializable{

    private static final long serialVersionUID = 1336443030102514990L;

    private List<LabPlantDetailBean> plantDetails;      //培养结果
    private List<LabBioDetailBean> bioDetails;          //细菌结果

    @XmlElementWrapper(name = "plantResults")
    @XmlElement(name = "detail")
    public List<LabPlantDetailBean> getPlantDetails() {
        return plantDetails;
    }

    public void setPlantDetails(List<LabPlantDetailBean> plantDetails) {
        this.plantDetails = plantDetails;
    }

    @XmlElementWrapper(name = "bioResults")
    @XmlElement(name = "detail")
    public List<LabBioDetailBean> getBioDetails() {
        return bioDetails;
    }

    public void setBioDetails(List<LabBioDetailBean> bioDetails) {
        this.bioDetails = bioDetails;
    }
}
